.class Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;
.super Landroid/os/Handler;
.source "AppUpdateService.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    .line 181
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 12
    .parameter "msg"

    .prologue
    .line 186
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 187
    iget v7, p1, Landroid/os/Message;->what:I

    packed-switch v7, :pswitch_data_0

    .line 234
    :goto_0
    return-void

    .line 191
    :pswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;

    .line 192
    .local v1, bean:Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;
    iget-wide v7, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mDownloadSize:J

    const-wide/16 v9, 0x64

    mul-long/2addr v7, v9

    iget-wide v9, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mLength:J

    div-long/2addr v7, v9

    invoke-static {v7, v8}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    .line 194
    .local v4, percent:Ljava/lang/Long;
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "%("

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v8

    iget-wide v9, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mDownloadSize:J

    invoke-static {v8, v9, v10}, Lcom/netease/newsreader/download/AppUpdateService;->access$0(Lcom/netease/newsreader/download/AppUpdateService;J)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "/"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v8

    iget-wide v9, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mLength:J

    invoke-static {v8, v9, v10}, Lcom/netease/newsreader/download/AppUpdateService;->access$0(Lcom/netease/newsreader/download/AppUpdateService;J)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ")"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 196
    .local v5, percenttext:Ljava/lang/String;
    iget-object v6, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mTitle:Ljava/lang/String;

    .line 197
    .local v6, title:Ljava/lang/String;
    iget v0, v1, Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;->mAutoid:I

    .line 199
    .local v0, autoid:I
    invoke-virtual {v4}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    const-wide/16 v9, 0x64

    cmp-long v7, v7, v9

    if-ltz v7, :cond_1

    .line 201
    new-instance v3, Landroid/content/Intent;

    const-string v7, "android.intent.action.VIEW"

    invoke-direct {v3, v7}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 202
    .local v3, i:Landroid/content/Intent;
    new-instance v7, Ljava/lang/StringBuilder;

    sget-object v8, Lcom/netease/newsreader/util/FileUtils;->FileTempDir:Ljava/lang/String;

    invoke-static {v8}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v8

    iget-object v9, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v9}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$0(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lcom/netease/newsreader/download/AppUpdateService;->getFileName(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 203
    .local v2, filePath:Ljava/lang/String;
    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "file://"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v7

    const-string v8, "application/vnd.android.package-archive"

    invoke-virtual {v3, v7, v8}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 204
    const/high16 v7, 0x2

    invoke-virtual {v3, v7}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 205
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$1(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Landroid/content/Context;

    move-result-object v8

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-static {v8, v9, v3, v10}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v8

    invoke-static {v7, v8}, Lcom/netease/newsreader/download/AppUpdateService;->access$1(Lcom/netease/newsreader/download/AppUpdateService;Landroid/app/PendingIntent;)V

    .line 206
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    const v8, 0x7f030021

    const v9, 0x7f0200f5

    const-string v10, "\u4e0b\u8f7d\u5df2\u5b8c\u6210,\u70b9\u51fb\u8fdb\u884c\u5b89\u88c5"

    const/16 v11, 0x10

    invoke-static {v7, v8, v9, v10, v11}, Lcom/netease/newsreader/download/AppUpdateService;->access$2(Lcom/netease/newsreader/download/AppUpdateService;IILjava/lang/String;I)V

    .line 208
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0090

    invoke-virtual {v7, v8, v6}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 209
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0091

    invoke-virtual {v7, v8, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 210
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0092

    const-string v9, "\u4e0b\u8f7d\u5df2\u5b8c\u6210,\u70b9\u51fb\u8fdb\u884c\u5b89\u88c5"

    invoke-virtual {v7, v8, v9}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 211
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$4(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/app/NotificationManager;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v8

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService;->access$5(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/app/Notification;

    move-result-object v8

    invoke-virtual {v7, v0, v8}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 212
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$1(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Landroid/content/Context;

    move-result-object v7

    new-instance v8, Ljava/lang/StringBuilder;

    const-string v9, "\""

    invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, "\""

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, "\u4e0b\u8f7d\u5b8c\u6210"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    const/4 v9, 0x0

    invoke-static {v7, v8, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v7

    invoke-virtual {v7}, Landroid/widget/Toast;->show()V

    .line 226
    .end local v2           #filePath:Ljava/lang/String;
    .end local v3           #i:Landroid/content/Intent;
    :cond_0
    :goto_1
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$6(Lcom/netease/newsreader/download/AppUpdateService;)I

    move-result v8

    add-int/lit8 v8, v8, 0x1

    invoke-static {v7, v8}, Lcom/netease/newsreader/download/AppUpdateService;->access$7(Lcom/netease/newsreader/download/AppUpdateService;I)V

    goto/16 :goto_0

    .line 213
    :cond_1
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$6(Lcom/netease/newsreader/download/AppUpdateService;)I

    move-result v7

    rem-int/lit8 v7, v7, 0x5

    if-nez v7, :cond_0

    .line 214
    new-instance v3, Landroid/content/Intent;

    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$1(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Landroid/content/Context;

    move-result-object v7

    const-class v8, Lcom/netease/newsreader/activity/NewsReader;

    invoke-direct {v3, v7, v8}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 215
    .restart local v3       #i:Landroid/content/Intent;
    const/high16 v7, 0x2

    invoke-virtual {v3, v7}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 217
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$1(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Landroid/content/Context;

    move-result-object v8

    const/4 v9, 0x0

    const/high16 v10, 0x800

    invoke-static {v8, v9, v3, v10}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v8

    invoke-static {v7, v8}, Lcom/netease/newsreader/download/AppUpdateService;->access$1(Lcom/netease/newsreader/download/AppUpdateService;Landroid/app/PendingIntent;)V

    .line 218
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    const v8, 0x7f030022

    const v9, 0x7f0200f3

    const-string v10, "\u5df2\u7ecf\u6dfb\u52a0\u5230\u4e0b\u8f7d\u5217\u8868"

    const/4 v11, 0x2

    invoke-static {v7, v8, v9, v10, v11}, Lcom/netease/newsreader/download/AppUpdateService;->access$2(Lcom/netease/newsreader/download/AppUpdateService;IILjava/lang/String;I)V

    .line 219
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0095

    const/16 v9, 0x64

    invoke-virtual {v4}, Ljava/lang/Long;->intValue()I

    move-result v10

    const/4 v11, 0x0

    invoke-virtual {v7, v8, v9, v10, v11}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

    .line 221
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0093

    invoke-virtual {v7, v8, v6}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 222
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$3(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/widget/RemoteViews;

    move-result-object v7

    const v8, 0x7f0c0094

    invoke-virtual {v7, v8, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 224
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v7

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService;->access$4(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/app/NotificationManager;

    move-result-object v7

    iget-object v8, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$3(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Lcom/netease/newsreader/download/AppUpdateService;

    move-result-object v8

    invoke-static {v8}, Lcom/netease/newsreader/download/AppUpdateService;->access$5(Lcom/netease/newsreader/download/AppUpdateService;)Landroid/app/Notification;

    move-result-object v8

    invoke-virtual {v7, v0, v8}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    goto/16 :goto_1

    .line 230
    .end local v0           #autoid:I
    .end local v1           #bean:Lcom/netease/newsreader/download/AppUpdateService$DownloadBean;
    .end local v3           #i:Landroid/content/Intent;
    .end local v4           #percent:Ljava/lang/Long;
    .end local v5           #percenttext:Ljava/lang/String;
    .end local v6           #title:Ljava/lang/String;
    :pswitch_1
    iget-object v7, p0, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread$1;->this$1:Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;

    invoke-static {v7}, Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;->access$1(Lcom/netease/newsreader/download/AppUpdateService$UpdateThread;)Landroid/content/Context;

    move-result-object v7

    const-string v8, "\u62b1\u6b49\uff0c\u4e0b\u8f7d\u9519\u8bef"

    const/4 v9, 0x0

    invoke-static {v7, v8, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v7

    invoke-virtual {v7}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 187
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
